package com.conv.shop.business.resp;

import java.util.Date;

public class ConsumerResp {
    private String consumerId;

    private String phone;

    private String consumerName;

    private String password;

    private String defaultAddress;

    private Date registerTime;

    private String email;

    public String getConsumerId() {
        return consumerId;
    }

    public void setConsumerId(String consumerId) {
        this.consumerId = consumerId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getConsumerName() {
        return consumerName;
    }

    public void setConsumerName(String consumerName) {
        this.consumerName = consumerName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getDefaultAddress() {
        return defaultAddress;
    }

    public void setDefaultAddress(String defaultAddress) {
        this.defaultAddress = defaultAddress;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", consumerId=").append(consumerId);
        sb.append(", phone=").append(phone);
        sb.append(", consumerName=").append(consumerName);
        sb.append(", password=").append(password);
        sb.append(", defaultAddress=").append(defaultAddress);
        sb.append(", registerTime=").append(registerTime);
        sb.append(", email=").append(email);
        sb.append("]");
        return sb.toString();
    }
}